package com.hua.designpattern.structural.bridge;

public abstract class Shape {
	private String name;
	protected DrawInterface drawImpl;

	protected Shape(DrawInterface drawImpl) {
		this.drawImpl = drawImpl;
	}

	public abstract void draw();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
